import 'dart:convert';

import 'package:enterprise_v6_app/generated/json/base/json_field.dart';
import 'package:enterprise_v6_app/generated/json/get_risk_analysis_entity.g.dart';

export 'package:enterprise_v6_app/generated/json/get_risk_analysis_entity.g.dart';

@JsonSerializable()
class GetRiskAnalysisEntity {

	GetRiskAnalysisEntity({this.id,this.name,this.status,this.children,this.jsonDate,this.logoIcon,this.styleIcon});

	factory GetRiskAnalysisEntity.fromJson(Map<String, dynamic> json) => $GetRiskAnalysisEntityFromJson(json);
	String? id;
	String? name;
	int? status;
	dynamic children;
	@JSONField(name: 'json')
	String? jsonDate;
	/// 样式图标
	String? styleIcon;
	/// 标识图标
	String? logoIcon;
	Map<String, dynamic> toJson() => $GetRiskAnalysisEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}